package com.nuoyun.tnvmue.activity.fragment

import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup

import com.nuoyun.tnvmue.R
import kotlinx.android.synthetic.main.view_title_bar_1.*


/**
 * @author JiangAdmin
 * date: 2020/4/10
 * Email: jiangmr@vip.qq.com
 * TODO: 首页
 */

class HomeFragment : BaseFragment(), View.OnClickListener {

    override fun onCreateView(inflater: LayoutInflater, container: ViewGroup?, savedInstanceState: Bundle?): View? {

        return inflater.inflate(R.layout.fragment_home, container, false)
    }

    override fun onViewCreated(view: View, savedInstanceState: Bundle?) {
        super.onViewCreated(view, savedInstanceState)

        autoTitleHeight(view_title_bar)
        title.visibility = View.GONE
        esc.visibility = View.GONE
        search.hint = "全网搜索"

        showHelp(true)
        showNews(true)

    }


    override fun onClick(view: View) {

    }


}